<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class ModifyCounterTableField extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('counter_enquiries', function (Blueprint $blueprint) {
            $blueprint->decimal('price', 10, 2)->comment('回复的可接受价格');
        });

        Schema::table('counter_offers', function (Blueprint $blueprint) {
            $blueprint->decimal('price', 10, 2)->comment('回复的可接受价格');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
